home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvglue10.arc / TVBSEND.C < prev    next >
C/C++ Source or Header  |  1988-08-13  |  1KB  |  31 lines

  1. /*================================================*/
  2. /* TVMAILBX.C                                     */
  3. /*   Mailbox object management functions          */
  4. /*                                                */
  5. /* (c) Copyright 1988 Ralf Brown                  */
  6. /*     All Rights Reserved                        */
  7. /* May be freely copied for noncommercial use,    */
  8. /* provided that this copyright notice remains    */
  9. /* intact and any changes are indicated in the    */
  10. /* comment blocks preceding functions             */
  11. /*================================================*/
  12.  
  13. #include "tvapi.h"
  14.  
  15. /*================================================*/
  16. /* TVsendmail  send mail msg by value w/ status 0 */
  17. /*   Ralf Brown 4/22/88                           */
  18. /*================================================*/
  19.  
  20. void pascal TVsendmail(OBJECT mbx,char *msg,int length)
  21. {
  22.    PARMLIST2 p ;
  23.  
  24.    p.num_args = 2 ;
  25.    p.arg[0] = (DWORD) (char far *) msg ;
  26.    p.arg[1] = (DWORD) length ;
  27.    TVsendmsg(WRITE_MSG, mbx?TOS:MAILME, mbx, (PARMLIST *)&p) ;
  28. }
  29.  
  30. /* End of TVMAILBX.C */
  31.